*** Settings ***
Documentation       通过ipmi接口FRU激活策略
Resource            ../../test_function/ipmi/ipmi.robot
Library             OperatingSystem
Library             BuiltIn

Test Tags           Ipmi_Fru_Policy

*** Variables ***
${input}                    raw 0x2C 0x0B 0x00 0x00
${expected_rc}              ${0}
${expected_output}          00 00


*** Test Cases ***
Get IPMI Fru Policy
    [Documentation]    带认证的IPMI的FRU激活策略
    [Tags]  Get_Fru_Policy_IPMI
    ${rc}    ${output}=  Run External Ipmi Command    ${input}
    Log    Command Output: ${output}
    Should Be Equal    ${rc}    ${expected_rc}    msg=${output}
    Should Contain    ${output}    ${expected_output}


